package com.example.myapplication.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.example.myapplication.R
import com.example.myapplication.TestResult

class TestAdapter(layout:Int) : BaseQuickAdapter<TestResult, BaseViewHolder>(layout) {

    override fun convert(helper: BaseViewHolder?, item: TestResult?) {
        helper?.apply {
            setText(R.id.tv_text, item?.str)
        }
    }
}